package com.love.poetry.application.security;

import com.love.poetry.domain.security.User;
import com.youboy.core.orm.Page;

public interface UserService {
	
	void update(User user);
	
   User lazyGet(String id);
   
   User queryUniqueByUsername(String username);
   
   Page<User> queryPage(Page<User> page);   
   
    void markLocked(String[] ids);

    void markNotLocked(String[] ids);

    void checkUserAuthority(String username);
    
    void checkRegisterUserName(String username);
}
